package com.team6.cet.serviceimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.team6.cet.entity.ExaminationInformation;
import com.team6.cet.mapper.ExaminationInformationMapper;
import com.team6.cet.service.ExaminationInformationService;
@Service  
public class ExaminationInformationServiceImpl implements ExaminationInformationService {
	@Autowired  
	ExaminationInformationMapper examinationInformationMapper;
	@Override
	public List<ExaminationInformation> findExam() {
		// TODO Auto-generated method stub
		return examinationInformationMapper.findExam();
	}

	@Override
	public int delExam(int id) {
		// TODO Auto-generated method stub
		return examinationInformationMapper.delExam(id);
	}

	@Override
	public int UpdataExam(ExaminationInformation examinationInformation) {
		// TODO Auto-generated method stub
		return examinationInformationMapper.UpdataExam(examinationInformation);
		
	}

	@Override
	public int InsertExam(ExaminationInformation examinationInformation) {
		// TODO Auto-generated method stub
		return examinationInformationMapper.InsertExam(examinationInformation);
	}

	@Override
	public ExaminationInformation findExamById(int ExaminationInformationID) {
		// TODO Auto-generated method stub
		return examinationInformationMapper.findExamById(ExaminationInformationID);
	}

}
